package com.shop.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@TableName(value ="wares")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Wares implements Serializable {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 商品名称
     */
    @TableField(value = "wares_name")
    private String waresName;

    /**
     * 商品图片
     */
    @TableField(value = "wares_images")
    private String waresImages;

    /**
     * 状态
     */
    @TableField(value = "state")
    private Integer state;

    /**
     * 是否删除
     */
    @TableField(value = "is_delete")
    private Integer isDelete;

    /**
     * 添加人
     */
    @TableField(value = "save_admin")
    private String saveAdmin;

    /**
     * 删除人
     */
    @TableField(value = "remove_admin")
    private String removeAdmin;

    /**
     * 删除信息
     */
    @TableField(value = "remove_memo")
    private String removeMemo;

    /**
     * 添加时间
     */
    @TableField(value = "save_time")
    private String saveTime;

    @TableField(value = "brands_id")
    private Long brandsId;

}